<?php
App::uses('AppController', 'Controller');
/**
 * Partners Controller
 *
 * @property Partner $Partner
 */
class PartnersController extends AppController {

    public $uses = array('Partner');

/**
 * Components
 *
 * @var array
 */
	public $components = array('Paginator');
    public $paginate = array(
        'limit' => 12,
        'order' => array(
            'Partner.order' => 'ASC'
        )
    );
    
/**
 * index method
 *
 * @return void
 */
	public function index() {
		$this->Partner->recursive = -1;
        $this->Paginator->settings = $this->paginate;
		$this->set('partners', $this->Paginator->paginate('Partner'));
	}
}
